home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-06-26 | 2.8 KB | 61 lines | [TEXT/GEOL] |
- Item 6718790 29-May-89 11:53
-
- From: A.DEVSUPPT Austria - Developer Support
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Enough temp space ?
-
- I am using a MacIIx with 4MB of RAM and Multifinder.
- Recently I compiled a MacApp Application with MacApp 2.0b5 and MPW pascal 3.0.
- After starting the application, it worked for some minutes and did the things I
- want it to do. (Mainly creating objects - about 500). But then it crashed with
- the Error -108.
- The memory information at the debug window showed the following status
- information:
- Current total stack = 4240 Maximum stack used = 4272
- Current procedure stack = 524 Available stack = 24584
- Reserves: code = 217430 (low: 778) low space = 4096 (gone) temporary
- Current temp space: locked = 175162, unlocked = 35982, total = 211144
- Needed reserve handle size = 6286
- Max resource usage = 207290
- (permanent) FreeMem = 667008 Free master pointers = 203
- (permanent) MaxMem = 120
- Total # segments = 28; loaded segments (* = resident segment):
- 1* Main 2* GDebug 3* GInspect
- 4* GMain 5* GFields 8* GRes
- 9 GNonRes 20 GError 21* BBRes
- 22* %_SelProcs 23* %_MethTables 26 ARes
- Total loaded code = 175162
- Current temp space: locked = 175162, unlocked = 35982, total = 211144
-
- So I decided to give more temporary space to the application. I added 800kB
- with the mem! Resource to the application.
- Now the application could create all the requested segments. But after this it
- stopped with the message: Memory space is low..., regardless of the amount of
- memory I gave to the temp and perm memory.
- The debugger showed the following information:
- Current total stack = 2082 Maximum stack used = 4272
- Current procedure stack = 524 Available stack = 24584
- Reserves: code = 217438 (OK) low space = 823296 (gone) temporary
- Current temp space: locked = 149854, unlocked = 60618, total = 210472
- Needed reserve handle size = 6966
- Max resource usage = 207298
- (permanent) FreeMem = 858756 Free master pointers = 171
- (permanent) MaxMem = 806272
- Total # segments = 28; loaded segments (* = resident segment):
- 1* Main 2* GDebug 3* GInspect
- 4* GMain 5* GFields 8* GRes
- 21* BBRes 22* %_SelProcs 23* %_MethTables
- Total loaded code = 149854
- Current temp space: locked = 149854, unlocked = 60618, total = 210472
- ≥G
- SysErr ID = 25 Out of memory
-
- I am sure that I DON'T need THIS amount. Can anyoune tell me what's that all
- about? Am I doing anything wrong with the allocation (I am using New for
- objects and NewPermHandle for other the stuff)? HELP!
-
- Helmut Seifert, new with MacApp.
-
-